#ifndef PILE_H
#define PILE_H

#define INT 1
#define DOUBLE 2
#define BOOLEAN 3
#define CHARACTER 4
#define STRING 5

#define bool int
#define true 1
#define false 0

struct pile {
	struct pile *prec;
	struct pile *suiv;
	int type;
	void* ptr_val;
};

typedef struct pile Pile;

Pile* getBase();
Pile* getTete();
void initBase();
void push (int, void *);
void* pop ();
void supprimer_pile();
void afficher_pile();
void maj_pile(int, void *);

#endif 
